package com.tnovoselec.android.mojevijesti.dto;

import java.util.LinkedHashMap;
import java.util.Map;

public class ChannelDto {

	private String channelName;
	private String iconUrl;
	private Map<String, String> items;
	
	public ChannelDto(){
		this.items = new LinkedHashMap<String, String>();
	}

	public String getChannelName() {
		return channelName;
	}

	public void setChannelName(String channelName) {
		this.channelName = channelName;
	}

	public Map<String, String> getItems() {
		return items;
	}

	public void setItems(Map<String, String> items) {
		this.items = items;
	}
	
	public void put(String name, String url){
		items.put(name, url);
	}

	public String getIconUrl() {
		return "http://anonymouse.org/cgi-bin/anon-www.cgi/"+iconUrl;
	}

	public void setIconUrl(String iconUrl) {
		this.iconUrl = iconUrl;
	}
	

}
